package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ExamsCountDescMapper;
import com.ruoyi.system.domain.ExamsCountDesc;
import com.ruoyi.system.service.IExamsCountDescService;

/**
 * descService业务层处理
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
@Service
public class ExamsCountDescServiceImpl implements IExamsCountDescService 
{
    @Autowired
    private ExamsCountDescMapper examsCountDescMapper;

    /**
     * 查询desc
     * 
     * @param id desc主键
     * @return desc
     */
    @Override
    public ExamsCountDesc selectExamsCountDescById(Long id)
    {
        return examsCountDescMapper.selectExamsCountDescById(id);
    }

    /**
     * 查询desc列表
     * 
     * @param examsCountDesc desc
     * @return desc
     */
    @Override
    public List<ExamsCountDesc> selectExamsCountDescList(ExamsCountDesc examsCountDesc)
    {
        return examsCountDescMapper.selectExamsCountDescList(examsCountDesc);
    }

    /**
     * 新增desc
     * 
     * @param examsCountDesc desc
     * @return 结果
     */
    @Override
    public int insertExamsCountDesc(ExamsCountDesc examsCountDesc)
    {
        return examsCountDescMapper.insertExamsCountDesc(examsCountDesc);
    }

    /**
     * 修改desc
     * 
     * @param examsCountDesc desc
     * @return 结果
     */
    @Override
    public int updateExamsCountDesc(ExamsCountDesc examsCountDesc)
    {
        return examsCountDescMapper.updateExamsCountDesc(examsCountDesc);
    }

    /**
     * 批量删除desc
     * 
     * @param ids 需要删除的desc主键
     * @return 结果
     */
    @Override
    public int deleteExamsCountDescByIds(Long[] ids)
    {
        return examsCountDescMapper.deleteExamsCountDescByIds(ids);
    }

    /**
     * 删除desc信息
     * 
     * @param id desc主键
     * @return 结果
     */
    @Override
    public int deleteExamsCountDescById(Long id)
    {
        return examsCountDescMapper.deleteExamsCountDescById(id);
    }
}
